import type { RouteRecordRaw } from 'vue-router'


/**
 * @FILENAME:  admin.ts
 *  @Description:  // admin模块路由
 * @Author: ellwood
 * @CreateDate: 2024/10/30 - 14:15
 * @Version: V1.0.0
 */

export default {
  path: '/system',
  name: 'system',
  component: () => import('@/layouts/system/admin.vue'),
  redirect: '/system/admin',
  children: [
    {
      path: 'admin',
      name: 'system/admin',
      component: () => import('@/pages/system/admin/index.vue'),
    },
    {
      path: 'soft',
      name: 'system/soft',
      component: () => import('@/pages/system/admin/soft.vue'),
    },
    {
      path: 'tem-cfn',
      name: 'system/tem-cfn',
      component: () => import('@/pages/system/admin/template-cnf.vue'),
    },
    {
      path: 'cnf',
      name: 'system/cnf',
      component: () => import('@/pages/system/admin/config.vue'),
    },
  ],
} as RouteRecordRaw
